package abstractGA.result;

import java.util.ArrayList;

/**
 * 对SA的一次优化，对应数据库表T_Run
 * @author nyc
 *
 */public class OneOpt {

		//算法的多少次运行
		private String runID; 
		//第幾代
		private String genID;   
		//优化ID，相当于对SA的一次优化，从PCM方法角度来看，相当于求解一次适应度
		private String optID;
		
		/*private float cpuIDMaxUtil;
		 
		public float getCpuIDMaxUtil() {
			return cpuIDMaxUtil;
		}
		public void setCpuIDMaxUtil(Float float1) {
			this.cpuIDMaxUtil = float1;
		}*/
		//算法开始运行的时间
		private String runTime; 
		//响应时间值
		private Float RestValue; 
		//可靠性值
		private Float ReltValue; 
		//代价值
		private Float CostValue; 
		
		private  String code;  
		
		//变更元素集
		 ArrayList<ChangeElem> chgElems=new ArrayList<ChangeElem>(); 
		 
		public String getGenID() {
			return genID;
		}
		public void setGenID(String genID) {
			this.genID = genID;
		}
		public String getcode() {
			return code;
		}
		public void setcode(String code) {
			this.code = code;
		}
		
		public String getRunID() {
			return runID;
		}
		public void setRunID(String runID) {
			this.runID = runID;
		}
		public String getOptID() {
			return optID;
		}
		public void setOptID(String optID) {
			this.optID = optID;
		}  
	   
		public String getRunTime() {
			return runTime;
		}
		public void setRunTime(String runTime) {
			this.runTime = runTime;
		}
		
		public Float getRestValue() {
			return RestValue;
		}
		public void setRestValue(Float restValue) {
			RestValue = restValue;
		}
		public Float getReltValue() {
			return ReltValue;
		}
		public void setReltValue(Float reltValue) {
			ReltValue = reltValue;
		}
		public ArrayList<ChangeElem> getChgElems() {
			return chgElems;
		}
		public void setChgElems(ArrayList<ChangeElem> chgElems) {
			this.chgElems = chgElems;
		}
		public Float getCostValue() {
			return CostValue;
		}
		public void setCostValue(Float costValue) {
			CostValue = costValue;
		}
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		} 

		
	}
